package com.jhws.business.comm.api;

import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.jhws.common.base.bo.JsonRespData;

@Controller
@RequestMapping("/v2/commInfo")
public class commApiV2 extends CommApi{

	@Override
	@RequestMapping({"anon/getCommByCity","getCommByCity"})
	public void getCityByComm(String city, HttpServletResponse response) throws Exception {
		// TODO Auto-generated method stub
		super.getCityByComm(city, response);
	}


	@Override
	@RequestMapping({ "anon/getCommOfUser", "getCommOfUser" })
	public JsonRespData queryComm(String username) {
		// TODO Auto-generated method stub
		return super.queryComm(username);
	}

	@Override
	@RequestMapping({"anon/getUnitsInfo","getUnitsInfo"})
	public Object getUnitsInfo(String commCode,Integer type) throws Exception{
		// TODO Auto-generated method stub
		return super.getUnitsInfo(commCode,type);
	}

	@Override
	@RequestMapping({ "anon/getCityByCommAuthentication", "getCityByCommAuthentication" })
	public void getCityByCommAuthentication(HttpServletResponse response, String password, String commCode) {
		// TODO Auto-generated method stub
		super.getCityByCommAuthentication(response, password, commCode);
	}

	@Override
	@RequestMapping({"anon/getTestCommByCity","getTestCommByCity"})
	public void getCityByCommTest(HttpServletResponse response) {
		// TODO Auto-generated method stub
		super.getCityByCommTest(response);
	}

	@Override
	@RequestMapping({"anon/getManagerDevices","getManagerDevices"})
	public JsonRespData getManagerDevices(String commCode) {
		// TODO Auto-generated method stub
		return super.getManagerDevices(commCode);
	}
}
